package com.xml.dom.write;

import java.io.IOException;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactoryConfigurationError;

public class WriteXMLSample {

	public static void main(String[] args) throws IOException,
			ParserConfigurationException, TransformerFactoryConfigurationError,
			TransformerException {
		CSVReader reader = new CSVReader();
		XMLMaker maker = new XMLMaker(reader.read("book.csv"));
		maker.makeFile("book2.xml");
	}
}
